#include <tuple>
#include <iostream>

void print(int a, double b, const std::string& c) {
    std::cout << a << ", " << b << ", " << c << std::endl;
}

int main() {
    auto values = std::make_tuple(30, 9.42, "Use apply");
    std::apply(print, values);  // 将元组的每个元素传递给print函数
    return 0;
}